<div id="mws-container" class="clearfix">
  <div class="container">
    <div class="mws-panel grid_8">
      <div class="mws-panel-header"> <span class="mws-i-24 i-table-1"><?php if(isset($role) and $role){echo $role.'s'; }else{?>Sellers <?php } ?>
      - Management</span> 
      </div>
      <div class="mws-panel-body">
        <div class="dataTables_wrapper">
          <table class="mws-datatable-fn mws-table">
            <thead>
              <tr>
                <th class="sorting_asc" rowspan="1" colspan="1" style="width: 141px;">Display name</th>
                <th class="sorting" rowspan="1" colspan="1" style="width: 150px;">merchant_token</th>
                 <th class="sorting" rowspan="1" colspan="1" style="width: 239px;">customer email</th>
                <th class="sorting" rowspan="1" colspan="1" style="width: 150px;">Status</th>
                <th class="sorting" rowspan="1" colspan="1" style="width: 91px;">Actions</th>
              </tr>
            </thead>
            <?php if(isset($Seller_list) and ($Seller_list)): 
					//pr($products);
					//exit;
			?>
            <tbody>
            <?php  $x =0;
			foreach($Seller_list  as $Seller){
				if($x%2==0)
				{
					$class ="odd";
				}
				else
				{
					$class ="even"; 
				}
				//pr($Seller);
				//exit;
				?>
              <tr class="gradeA <?php echo $class ; ?>">
                <td class=" sorting_1"><?php echo $Seller['Seller']['bs_dis_name']; ?></td>
                  <td class=" sorting_1"><?php echo $Seller['Seller']['merchant_token']; ?></td>
                     <td class=" sorting_1"><?php echo $Seller['Seller']['cust_ser_email']; ?></td>
                <td class="center">
					<?php
                     if(isset($Seller['Seller']['is_verified']) and ($Seller['Seller']['is_verified']==1))
                     {echo "Active";}else{ echo "Deactive";} ?>
                 </td>
                <td class="center">
					<?php 
						echo $html->link("Edit", 
						array('action'=>'admin_edit_seller', 
						$Seller['Seller']['id']),
						array('escape'=>false));  
                    ?>
                    <?php
                    echo $html->link('Delete',
                    array('controller'=>'Setups', 'action' => 'admin_delete_by_id',
                    'Seller',$Seller['Seller']['id'],'admin_sellers_list'),
                    array('escape' => false,'id'=>'alink'), 'Are you sure?');
                  ?>
                </td>
              </tr>
              <?php $x++;} ?>
            </tbody>
            <?php endif; ?>
          </table>
            <!--          <div class="dataTables_info">Showing 1 to 10 of 57 entries</div>
          <div class="dataTables_paginate paging_full_numbers">
              <span class="first paginate_button paginate_button_disabled">First</span>
                  <span class="previous paginate_button paginate_button_disabled">Previous</span>
                  <span><span class="paginate_active">1</span>
                  <span class="paginate_button">2</span>
                  <span class="paginate_button">3</span>
                  <span class="paginate_button">4</span>
                  <span class="paginate_button">5</span>
              </span>
              <span class="next paginate_button">Next</span>
              <span class="last paginate_button">Last</span>
          </div>-->
        </div>
      </div>
    </div>
  </div>
</div>
